<?php   // $Id: devis_non_commandes.php 303 2008-10-12 16:21:06Z pcoustillas $ ?>
<?php   
/*Copyright (C) 2003-2004 Guy Hendrickx
Licensed under the terms of the GNU  General Public License:http://www.opensource.org/licenses/gpl-license.php
File Authors:Guy Hendrickx */
require_once("include/verif.php");
require_once("include/config/common.php");
require_once("include/config/var.php");
require_once("include/language/$lang.php");
require_once("include/utils.php");

$num_dev=isset($_GET['num_dev'])?$_GET['num_dev']:"";

$sql2 = "UPDATE ${tblpref}devis SET resu='per' WHERE num_dev= $num_dev";
mysql_query($sql2) or die("Erreur SQL !<br/>$sql2<br/>" . mysql_error());
$msg=get_lang("Votre devis est à présent au statut de devis refusé");


header("Location: devis_lister.php?message=$msg");

?>

